package com.example.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * 采购分摊
 * */
public class DsAssignBuyMain {
	private String BillNO;// 单据号码
	private Date BillDate;// 单据日期
	private String AssignStyle;// 分摊方式
	private String VoucherNO;// 凭证编号
	private double MLAmount;// 待摊金额本位币
	private String Maker; // 制单人员
	private String Permitter; // 复核人员
	private String state; // 单据状态
	private Set<DsAssignFee> dsAssignFee = new HashSet<DsAssignFee>();
	
	public DsAssignBuyMain() {
		super();
	}

	public DsAssignBuyMain(String billNO, Date billDate, String assignStyle,
			String voucherNO, double mLAmount, String maker, String permitter,
			String state) {
		super();
		BillNO = billNO;
		BillDate = billDate;
		AssignStyle = assignStyle;
		VoucherNO = voucherNO;
		MLAmount = mLAmount;
		Maker = maker;
		Permitter = permitter;
		this.state = state;
	}

	public DsAssignBuyMain(String billNO, Date billDate, String assignStyle,
			String voucherNO, double mLAmount, String maker, String permitter,
			String state, Set<DsAssignFee> dsAssignFee) {
		super();
		BillNO = billNO;
		BillDate = billDate;
		AssignStyle = assignStyle;
		VoucherNO = voucherNO;
		MLAmount = mLAmount;
		Maker = maker;
		Permitter = permitter;
		this.state = state;
		this.dsAssignFee = dsAssignFee;
	}

	public String getBillNO() {
		return BillNO;
	}

	public void setBillNO(String billNO) {
		BillNO = billNO;
	}

	public Date getBillDate() {
		return BillDate;
	}

	public void setBillDate(Date billDate) {
		BillDate = billDate;
	}

	public String getAssignStyle() {
		return AssignStyle;
	}

	public void setAssignStyle(String assignStyle) {
		AssignStyle = assignStyle;
	}

	public String getVoucherNO() {
		return VoucherNO;
	}

	public void setVoucherNO(String voucherNO) {
		VoucherNO = voucherNO;
	}

	public double getMLAmount() {
		return MLAmount;
	}

	public void setMLAmount(double mLAmount) {
		MLAmount = mLAmount;
	}

	public String getMaker() {
		return Maker;
	}

	public void setMaker(String maker) {
		Maker = maker;
	}

	public String getPermitter() {
		return Permitter;
	}

	public void setPermitter(String permitter) {
		Permitter = permitter;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Set<DsAssignFee> getDsAssignFee() {
		return dsAssignFee;
	}

	public void setDsAssignFee(Set<DsAssignFee> dsAssignFee) {
		this.dsAssignFee = dsAssignFee;
	}

	@Override
	public String toString() {
		return "DsAssignBuyMain [BillNO=" + BillNO + ", BillDate=" + BillDate
				+ ", AssignStyle=" + AssignStyle + ", VoucherNO=" + VoucherNO
				+ ", MLAmount=" + MLAmount + ", Maker=" + Maker
				+ ", Permitter=" + Permitter + ", state=" + state
				+ ", dsAssignFee=" + dsAssignFee + "]";
	}
}
